use std::fmt::{Debug, Display};

// ///退出程序
// #[macro_export]
// macro_rules! exit_process {
//     () => {
//         std::process::exit(0);
//     };
//     ($code:expr) => {
//         std::process::exit($code);
//     };
// }

pub struct ExitProcess{}

impl ExitProcess {
    pub fn exit(){
        std::process::exit(0);
    }
    pub fn exit_msg(msg:String){
        println!("{}",msg);
        std::process::exit(0);
    }
}